package com.Logistics.mycommon.pojo.pdauth;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 角色的资源
 * </p>
 *
 * @author PinDaLogistics
 * @since 2024-08-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PdAuthRoleAuthority对象", description="角色的资源")
public class PdAuthRoleAuthority implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "权限id#c_auth_resource#c_auth_menu")
    private Long authorityId;

    @ApiModelProperty(value = "权限类型#AuthorizeType{MENU:菜单;RESOURCE:资源;}")
    private String authorityType;

    @ApiModelProperty(value = "角色id#c_auth_role")
    private Long roleId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private Long createUser;


}
